export default {
  namespaced: true,
  state: {
    bgc: localStorage.getItem('color')
  },
  getters: {
    bianse (State) {
      console.log(State.bgc)
      return State.bgc
    }
  },
  mutations: {
    bianse (State, color) {
      State.bgc = color
      localStorage.setItem('color', color)
    }
  },
  actions: {

  }
}
